package org.anyin.gitee.cloud.center.upms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.anyin.gitee.cloud.center.upms.service.dto.SysMenuInfoDTO;
import org.anyin.gitee.cloud.center.upms.service.dto.SysMenuNodeDTO;
import org.anyin.gitee.cloud.center.upms.service.dto.SysMenuPageQueryDTO;
import org.anyin.gitee.cloud.center.upms.service.dto.SysMenuSaveDTO;

import java.util.List;

public interface SysMenuService {

    Page<SysMenuInfoDTO> page(SysMenuPageQueryDTO param);

    void create(SysMenuSaveDTO param);

    void modify(Long id, SysMenuSaveDTO param);

    void delete(Long id);

    List<SysMenuNodeDTO> tree();

    SysMenuInfoDTO info(Long id);
}
